package com.cj.mobile.iabp.mvp.model.entity;

public class CarbonCreditsResponse {
    public CarbonCreditsResponse() {
    }

    /**
     * 获取碳账户减排量
     */
    public CarbonCreditsResponse(int carbonCredits, double co2Num, String unit, double totalRevenue) {
        this.carbonCredits = carbonCredits;
        this.co2Num = co2Num;
        this.unit = unit;
        this.totalRevenue = totalRevenue;
    }

    /**
     * 碳账户
     */
    public CarbonCreditsResponse(int remainingPoints, double co2Num, String unit) {
        this.remainingPoints = remainingPoints;
        this.co2Num = co2Num;
        this.unit = unit;
    }

    /*---------------------------------------获取碳账户减排量---------------------------------------*/
    // 碳积分
    private int carbonCredits;
    // 碳排量
    private double co2Num;
    private String unit;
    // 总收益
    private double totalRevenue;
    /*------------------------------------------获取碳账户------------------------------------------*/
    // 累积获取碳积分
    private int remainingPoints;

    public int getCarbonCredits() {
        return carbonCredits;
    }

    public void setCarbonCredits(int carbonCredits) {
        this.carbonCredits = carbonCredits;
    }

    public double getCo2Num() {
        return co2Num;
    }

    public void setCo2Num(double co2Num) {
        this.co2Num = co2Num;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getTotalRevenue() {
        return totalRevenue;
    }

    public void setTotalRevenue(double totalRevenue) {
        this.totalRevenue = totalRevenue;
    }

    public int getRemainingPoints() {
        return remainingPoints;
    }

    public void setRemainingPoints(int remainingPoints) {
        this.remainingPoints = remainingPoints;
    }
}
